using System.IO;

namespace GamePlayConfig
{
    public class NPCCfg : Config<NPCCfg>,IBinaryDeserializable
    {
        public string Name { get; private set; }
        public byte Age { get; private set; }

        public void Deserialize(BinaryReader reader)
        {
            ID = reader.ReadInt32();
            Name = reader.ReadString();
            Age = reader.ReadByte();

        }

    }
}
